The Onboard M and S record the RAW or video data stream sent by cameras to the Codex intermediate format. For most formats this recording is not compressed, but for some formats a light wavelet compression can be applied. ARRIRAW is never compressed.
The benefit of the Codex intermediate format is that this can then be easily transcoded to a wide range of file formats for post production using a Codex Media Station.